package com.tsd.jxc.stock.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.stock.entity.JxcStockOutbillLogistics;
import com.tsd.jxc.stock.entity.JxcStockOutbillLogisticsExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcStockOutbillLogisticsMapper
 *
 * @author Hillpool
 * @date 2022/07/29 15:06:41
 */
public interface JxcStockOutbillLogisticsMapper {

    JxcStockOutbillLogistics selectByPrimaryKey(Long id);

    JxcStockOutbillLogisticsExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcStockOutbillLogistics record);

    int insertSelective(JxcStockOutbillLogistics record);

    int updateByPrimaryKey(JxcStockOutbillLogistics record);

    int updateByPrimaryKeySelective(JxcStockOutbillLogistics record);

    List<JxcStockOutbillLogisticsExt> selectByEntity(JxcStockOutbillLogisticsExt record);

    List<JxcStockOutbillLogisticsExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcStockOutbillLogisticsExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcStockOutbillLogisticsExt> selectByParams(@Param("params") Map<String, Object> params);

    List<JxcStockOutbillLogisticsExt> getAllLogisticsByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcStockOutbillLogisticsExt> selectLogisticsByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);
}